<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@taglib prefix="logic" uri="http://jakarta.apache.org/struts/tags-logic" %>

<html>
     
    
    <body bgcolor="#000000" onbeforeunload="history('${pageContext.request.contextPath}/closeItem.do?refId=${param.refId}')">
        <input type="hidden" id="isSkipFlag" name="isSkipFlag" value="false"/>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="center" valign="top">
                                <%@ include file="setBGColor.jsp" %>
                            </td>
                        </tr>
                        <tr>
                            <td height="63" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td align="center" valign="top">
                                            <html:form action="/LmsAction.do?_flowExecutionKey=${flowExecutionKey}"> 
                                                <input type="hidden" name="refId" value="${param.refId}"/>
                                                <div align="center">
                                                    <object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" 
                                                            width=900 height=500 id="index" align="middle">
                                                        <param name="allowScriptAccess" value="sameDomain" />
                                                        <param name="movie" value="/LMSProject/content/${param.path}/${requestScope.ITEM_VIEW_ATTR.filename}?Code=xxxx" />
                                                        <param name="quality" value="high" />
                                                        <param name="bgcolor" value="${bgColor1}" />
                                                        <PARAM NAME="BASE" VALUE="/LMSProject/content/${param.path}">
                                                        <embed src="/LMSProject/content/${param.path}/${requestScope.ITEM_VIEW_ATTR.filename}?Code=xxxx" quality="high" bgcolor="${bgColor1}"
                                                               width=900 height=500 name="index" align="middle" 
                                                               allowScriptAccess="sameDomain" type="application/x-shockwave-flash" 
                                                               pluginspage="http://www.macromedia.com/go/getflashplayer" 
                                                               BASE="/LMSProject/content/${param.path}"/>
                                                    </object>   
                                                </div>
                                            </html:form>
                                        </td>
                                    </tr>
                            </table></td>
                        </tr>
                        <tr>
                            <td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td width="100%" align="center">&nbsp;</td>
                                    </tr>
                                    <logic:empty  name="ITEM_BOOKMARK_ATTR" scope="request" >
                                    <tr>
                                        <td align="center" class="WH12"><table border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <!--td align="right" class="WH12"><html:img page="/images/icon/star.gif" width="15" height="15" /></td-->
                                                    <td align="left" class="WH12">
                                                        <%@ include file="bookmark.jsp" %>
                                                    </td>
                                                </tr>
                                        </table></td>
                                    </tr>
                                </logic:empty>
                                    <tr>
                                        <td height="35" align="center" class="WH12">&nbsp;</td>
                                    </tr>
                            </table></td>
                        </tr>
                </table></td>
            </tr>
        </table>
    </body>
</html>
